package com.hp.qxf.canteenhou.service.impl;

import com.hp.qxf.canteenhou.dao.entity.Formson0819;
import com.hp.qxf.canteenhou.dao.mapper.Formson0819Mapper;
import com.hp.qxf.canteenhou.service.Formson0819Service;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class Formson0819ServiceImpl implements Formson0819Service {
    @Resource
    private Formson0819Mapper formson0819Mapper;
    @Override
    public List<Formson0819> select() {
        return formson0819Mapper.select();
    }

    @Override
    public Formson0819 selectCanteens(String week, String yearMonthDay) {
        return formson0819Mapper.selectCanteens(week, yearMonthDay);
    }

    @Override
    public Date selectDay() {
        return formson0819Mapper.selectDay();
    }

    @Override
    public void getScore(Integer score, Date date) {
        formson0819Mapper.getScore(score, date);    }
}
